package com.aji.biomarker.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 对应关系表
 * @TableName correspondence
 */
@TableName(value ="correspondence")
@Data
public class Correspondence implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 化合物
     */
    private Long compoundId;

    /**
     * 物种id
     */
    private Long speciesId;

    /**
     * 参考文献id
     */
    private Long referenceId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}